/*
 * <p>Copyright® 2009-2022 东软 IT 实训中心版权所有。</p>
 */

package com.max.back.doctor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.max.back.demo.dao.BcodenameDao;
import com.max.back.demo.entity.Bcodename;
import com.max.back.doctor.dao.DepartmentDao;
import com.max.back.doctor.service.DepartmentService;
import com.max.back.entity.Department;
import org.springframework.stereotype.Service;

/**
* @description 
* 
* <p><code>DepartmentServiceImpl</code> 
* 
* @see 
* @author 辛凤文 forward.seen@foxmail.com
* @version 1.0 
* @time 2022/7/18 23:10 
*/
@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentDao,
        Department> implements DepartmentService {
    @Override
    public Department selectById(String id) {
        Department department = query().eq("id", id).getEntity();
        System.out.println(department);
        return department;
    }
}